package com.muyu.emaildemo.dto;

import com.muyu.emaildemo.dto.VariableDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * @ClassName: ThymeleafMail
 * @Author: Zirun.Xin
 * @Date: 2025/3/27 下午4:50
 * @Version: 1.0
 * @Description: Thymeleaf引擎模板邮件数据传输对象
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ThymeleafMailDTO extends MailDTO {

    /**
     * 静态文件参数配置
     */
    private List<VariableDTO> variableList;

    /**
     * 静态文件名+后缀
     */
    private String template;
}
